package com.five.zhh.fiveinfive.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/view")
public class MvcController {

    @RequestMapping("/login")
    public String login() {
        return "/login/login.html";
    }

    @RequestMapping("/index")
    public String home() {
        return "/home/home.html";
    }

    @RequestMapping("/chessboard")
    public String chessboard() {
        return "/chess/chess.html";
    }

    @RequestMapping("/local")
    public String local() {
        return "/local/localChess.html";
    }

}
